<template>
  <div>
   <router-link to='/home'>首页</router-link>
   <router-link to='/classify'>分类</router-link>
   <router-link to='/order'>订单</router-link>
   <router-link to='/my'>我的</router-link><br>
   <h2>显式路由切换页面↓</h2>
     <router-view></router-view>
    </div>
</template>

<script>
export default {

}
</script>

<style>
a {
 margin-right: 5px;
}
</style>